Skip to content

Speed up CommonSingleServiceTest#5258

Merged
kenjis merged 1 commit intocodeigniter4:developfrom
paulbalandan:common-single-service
Nov 1, 2021
Merged

Speed up CommonSingleServiceTest#5258
kenjis merged 1 commit intocodeigniter4:developfrom
paulbalandan:common-single-service

Conversation

@paulbalandan
Copy link
Copy Markdown
Member

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@paulbalandan paulbalandan force-pushed the common-single-service branch from 61b92de to d7364cd Compare October 29, 2021 11:25
Copy link
Copy Markdown
Member

@MGatner MGatner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume these static variables don't fall under the newly-deprecated kind that we are removing for 8.1, right? Because the method is static?

@kenjis
Copy link
Copy Markdown
Member

kenjis commented Nov 1, 2021

@MGatner These static variables are not problem. The problem may occurs only when inherited.

When a method using static variables is inherited (but not overridden), the inherited method will now share static variables with the parent method.
https://www.php.net/manual/en/migration81.incompatible.php

@kenjis kenjis merged commit 4671341 into codeigniter4:develop Nov 1, 2021
@paulbalandan paulbalandan deleted the common-single-service branch November 1, 2021 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants